﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IPBoss.Copyright.Entities.Input
{
    //交付成本 输入类
    public class DeliveryCostInputModel : PageInputModel
    {

        public int? Source { get; set; }

        /// <summary>
        /// 通用列表,DataTales表格查询框数据
        /// </summary>
        public string SearchValue { get; set; }

        /// <summary>
        /// 产品ID
        /// </summary>
        public string ProductID { get; set; }

        /// <summary>
        /// 产品编码
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        public string ContractNumber { get; set; }

        /// <summary>
        /// 产品类型
        /// </summary>
        public string BTCode { get; set; }


        /// <summary>
        /// 产品二级类
        /// </summary>
        public string InfoBTCode { get; set; }

        /// <summary>
        /// 产品三级类
        /// </summary>
        public string SubBTCode { get; set; }

        /// <summary>
        /// 费用种类编码
        /// </summary>
        public string CostTypeCode { get; set; }


        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 单据生成下拉框状态
        /// </summary>
        public string DDlStatus { get; set; }



        /// <summary>
        /// 清单ID
        /// </summary>
        public int Listid { get; set; }
        /// <summary>
        /// 多个产品ID
        /// </summary>
        public List<string> IDList { set; get; }
        /// <summary>
        /// 清单编码
        /// </summary>
        public string ListCode { get; set; }


        /// <summary>
        /// 扣费人  
        /// </summary>
        public string PayUser { get; set; }
        /// <summary>
        /// 扣费周期Start
        /// </summary>
        public DateTime? PayTimeStart { get; set; }

        /// <summary>
        /// 扣费周期End
        /// </summary>
        public DateTime? PayTimeEnd { get; set; }



        /// <summary>
        /// 清单名称
        /// </summary>
        public string ListName { get; set; }
        /// <summary>
        /// 提请人
        /// </summary>
        public string ProposerUser { get; set; }
        /// <summary>
        /// 提请时间Start
        /// </summary>
        public DateTime? ProposerTimeS { get; set; }

        /// <summary>
        /// 提请时间End
        /// </summary>
        public DateTime? ProposerTimeE { get; set; }

        /// <summary>
        /// 财务确认时间S
        /// </summary>
        public DateTime? ConfirmTimeS { get; set; }

        /// <summary>
        /// 财务确认时间E
        /// </summary>
        public DateTime? ConfirmTimeE { get; set; }


        /// <summary>
        /// 供应商
        /// </summary>
        public string OrgName { get; set; }

        /// <summary>
        /// 供应商编码
        /// </summary>
        public string OrgCode { get; set; }

        /// <summary>
        /// 银行id
        /// </summary>
        public int BankID { get; set; }

        public int? SendSystem { get; set; }

        /// <summary>
        /// 收款人名称
        /// </summary>
        public string BankName { get; set; }

        /// <summary>
        /// 成本明细主键
        /// </summary>
        public int TcdID { get; set; }

        /// <summary>
        /// 创建人  oacode
        /// </summary>
        public string CreateUser { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string BusinessName { get; set; }

        /// <summary>
        /// 核算主体编码
        /// </summary>
        public string CompanyCode { get; set; }

        /// <summary>
        /// 核算主体编码
        /// </summary>
        public string CompanyID { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public UsersExtend Users { get; set; }

        /// <summary>
        /// 业务类别  1商标注册2杂文
        /// 
        /// /// </summary>
        public int ApplyType { get; set; }
        /// <summary>
        /// 报件类型
        /// </summary>
        public int? DeclareType { get; set; }
        /// <summary>
        /// 申请号
        /// </summary>
        public string ApplyNumber { get; set; }
        /// <summary>
        /// 是否来自mis
        /// </summary>
        public int? IsSourceMIS { get; set; }
        /// <summary>
        /// 财务编码
        /// </summary>
        public string FinanceCode { get; set; }

    }

    public class   UsersExtend
    {
        public string Key { get; set; }

        public int UserID { get; set; }

        public string UserName { get; set; }

        public string LoginNick { get; set; }

        public string loginPwd { get; set; }

        public int Sex { get; set; }

        public int? OfficeID { get; set; }

        public string UserPhone { get; set; }

        public string UserTel { get; set; }

        public string Email { get; set; }

        public int Status { get; set; }

        public int? MsgAssignStatus { get; set; }

        public bool AccountDisabled { get; set; }

        public bool NetDisabled { get; set; }

        public string Remark { get; set; }

        public DateTime? LastLoginTime { get; set; }

        public int CreatedUser { get; set; }

        public bool IsMaster { get; set; }

        public DateTime? Birthday { get; set; }
        public int? StarLevel { get; set; }

        public bool RecordIsDelete { get; set; }

        public DateTime? RecordCreateTime { get; set; }

        public DateTime? RecordUpdateTime { get; set; }

        public string FinanceCode { get; set; }

        public string CallSipphone { get; set; }

        public int CallBindUid { get; set; }
        public string CallTelExt { get; set; }
        public string DepartmentName { get; set; }
        public string ParentDepartmentName { get; set; }

    }
}
